MYSQL="mysql"
ANT="/usr/local/ant/bin/ant"
DB_CONN="-hlocalhost -uinfo_admin -pPoe9j44lkt"
PRJ_PATH="../.."
PATH=/usr/local/bin:/bin:/usr/bin:/usr/java/j2sdk1.4.2_04/bin:/usr/local/ant/bin

$MYSQL $DB_CONN info_admin<$PRJ_PATH/document/database/drop_table.sql
$MYSQL $DB_CONN info_admin<$PRJ_PATH/document/database/db_struct.sql
$MYSQL $DB_CONN info_admin<$PRJ_PATH/document/database/db_data.sql
cd $PRJ_PATH/wap
$ANT clean deploy-resin
cd ../admin
$ANT clean deploy-resin
